.app {
    display: flex;
    height: 95vh;
    background-color: #f2f6f6;
    border-radius: 20px;
    position: relative;
  }
  /* 左侧部分 */
  .left-sidebar {
    width: 250px;
    height: 95vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid #e9ecef;
    border-radius: 20px 0 0 20px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .logo {
    text-align: center;
    font-size: 24px;
    margin-top: 10px;
  }
  
  .project-name {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  
  .menu {
    margin-top: 20px;
    padding: 0 10px;
  }
  
  .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .menu li {
    margin: 8px 0;
  }
  
  .menu .icon-text-block {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
  }
  
  .menu .icon-text-block:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    transform: translateX(4px);
  }
  
  .menu .icon-text-block.router-link-active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
  }
  
  .menu .icon-text-block.router-link-active:hover {
    background: #2563eb;
    transform: translateX(4px);
  }
  
  .menu .icon-text-block .el-icon {
    margin-right: 12px;
    font-size: 1.25rem;
  }
  
  .menu .icon-text-block i {
    font-style: normal;
    font-weight: 500;
    font-size: 0.95rem;
  }
  
  /* Logo container styling */
  .sidebar > div:first-child {
    padding: 20px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
  }
  
  .sidebar > div:first-child img {
    transition: transform 0.3s ease;
  }
  
  .sidebar > div:first-child img:hover {
    transform: scale(1.02);
  }
  
  /* Add subtle animation for menu items */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .menu li {
    animation: slideIn 0.3s ease forwards;
    animation-delay: calc(0.1s * var(--i, 0));
  }
  
  /* Add a subtle hover effect for the entire sidebar */
  .left-sidebar:hover {
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
  }
  
  /* 右侧部分 */
  .right-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 20px;
    margin-left: 30px;
    border-radius: 10px;
    min-width: 0; /* 防止内容溢出 */
  }
  
  .top-sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .user-settings {
    display: flex;
    gap: 20px;
    padding-right: 20px;
  }
  
  .user-settings span {
    cursor: pointer;
    font-size: 50px;
  }
  
  .user-settings span .UserFilled {
    font-size: 10px;
  }
  
  .icon-text-block {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    font-size: 20px; 
  }

  li .icon-text-block i {
    font-style: normal;
    margin-right: 20px;
  }
  
  /* 取消设置和user选中时的颜色变化 */
  .icon-text-block.no-style {
    text-decoration: none;
    color: inherit;
    margin: 0 10px;
  }

  .icon-text-block.no-style.router-link-active {
    background-color: transparent; /* 取消背景颜色变化 */
  }

  .setting-icon {
    margin-bottom: 5px; 
  }

  .setting-text {
    margin-top: 5px;
    font-size: 10px;
  }

  .user-settings span a {
    font-size: 0;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
  
  }
  
  .search-bar {
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    border: 1px solid #ccc;
    margin-right: 20px;
  }
  
  .content {
    flex-grow: 1;
    border-radius: 15px;
  }

  /* 设置的body */
  .body {
    display: flex;
    flex: 1;
    
  }


